package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedTbFld implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idTbFld;

	private String idTb;

	private String idPubfld;

	private String euTp;

	private Long numLth;

	private Byte numPrec;

	private Byte fgAct;

	private Date dtSysCre;

	private Date dtSysModi;

	private String na;

	private Boolean fgPk;

	public String getIdTbFld() {
	    return idTbFld;
	}

	public void setIdTbFld(String idTbFld) {
	    this.idTbFld = idTbFld;
	}

	public String getIdTb() {
	    return idTb;
	}

	public void setIdTb(String idTb) {
	    this.idTb = idTb;
	}

	public String getNa() {
	    return na;
	}

	public void setNa(String na) {
	    this.na = na;
	}

	public String getIdPubfld() {
	    return idPubfld;
	}

	public void setIdPubfld(String idPubfld) {
	    this.idPubfld = idPubfld;
	}

	public String getEuTp() {
	    return euTp;
	}

	public void setEuTp(String euTp) {
	    this.euTp = euTp;
	}

	public Long getNumLth() {
	    return numLth;
	}

	public void setNumLth(Long numLth) {
	    this.numLth = numLth;
	}

	public Byte getNumPrec() {
	    return numPrec;
	}

	public void setNumPrec(Byte numPrec) {
	    this.numPrec = numPrec;
	}

	public Byte getFgAct() {
	    return fgAct;
	}

	public void setFgAct(Byte fgAct) {
	    this.fgAct = fgAct;
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public Date getDtSysModi() {
	    return dtSysModi;
	}

	public void setDtSysModi(Date dtSysModi) {
	    this.dtSysModi = dtSysModi;
	}

	public Boolean getFgPk() {
	    return fgPk;
	}

	public void setFgPk(Boolean fgPk) {
	    this.fgPk = fgPk;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    MdMedTbFld other = (MdMedTbFld) that;
	    return (this.getIdTbFld() == null ? other.getIdTbFld() == null : this.getIdTbFld().equals(other.getIdTbFld())) && (this.getIdTb() == null ? other.getIdTb() == null : this.getIdTb().equals(other.getIdTb())) && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa())) && (this.getIdPubfld() == null ? other.getIdPubfld() == null : this.getIdPubfld().equals(other.getIdPubfld())) && (this.getEuTp() == null ? other.getEuTp() == null : this.getEuTp().equals(other.getEuTp())) && (this.getNumLth() == null ? other.getNumLth() == null : this.getNumLth().equals(other.getNumLth())) && (this.getNumPrec() == null ? other.getNumPrec() == null : this.getNumPrec().equals(other.getNumPrec())) && (this.getFgAct() == null ? other.getFgAct() == null : this.getFgAct().equals(other.getFgAct())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi())) && (this.getFgPk() == null ? other.getFgPk() == null : this.getFgPk().equals(other.getFgPk()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdTbFld() == null) ? 0 : getIdTbFld().hashCode());
	    result = prime * result + ((getIdTb() == null) ? 0 : getIdTb().hashCode());
	    result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
	    result = prime * result + ((getIdPubfld() == null) ? 0 : getIdPubfld().hashCode());
	    result = prime * result + ((getEuTp() == null) ? 0 : getEuTp().hashCode());
	    result = prime * result + ((getNumLth() == null) ? 0 : getNumLth().hashCode());
	    result = prime * result + ((getNumPrec() == null) ? 0 : getNumPrec().hashCode());
	    result = prime * result + ((getFgAct() == null) ? 0 : getFgAct().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
	    result = prime * result + ((getFgPk() == null) ? 0 : getFgPk().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idTbFld=").append(idTbFld);
	    sb.append(", idTb=").append(idTb);
	    sb.append(", na=").append(na);
	    sb.append(", idPubfld=").append(idPubfld);
	    sb.append(", euTp=").append(euTp);
	    sb.append(", numLth=").append(numLth);
	    sb.append(", numPrec=").append(numPrec);
	    sb.append(", fgAct=").append(fgAct);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", dtSysModi=").append(dtSysModi);
	    sb.append(", fgPk=").append(fgPk);
	    sb.append("]");
	    return sb.toString();
	}


}